.class public final Lif;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;


# direct methods
.method private constructor <init>(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)V
    .locals 0

    iput-object p1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method public synthetic constructor <init>(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;Lie;)V
    .locals 0

    invoke-direct {p0, p1}, Lif;-><init>(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)V

    return-void
.end method


# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v5, 0x3

    const/4 v3, 0x2

    const/4 v4, 0x1

    const/4 v2, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "soresult"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    sget-object v1, Lcn/apppark/vertify/network/request/WebServiceRequest;->NO_DATA:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    sget-object v1, Lcn/apppark/vertify/network/request/WebServiceRequest;->WEB_ERROR:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v0, v3}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->loadFail(I)V

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v1, v3}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->loadSuccess(I)V

    new-instance v1, Lig;

    invoke-direct {v1, p0}, Lig;-><init>(Lif;)V

    invoke-virtual {v1}, Lig;->getType()Ljava/lang/reflect/Type;

    move-result-object v1

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0, v1}, Lcn/apppark/mcd/util/jsonparse/JsonParserDyn;->parseJson2List(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-static {v2, v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->j(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-static {v0, v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    :cond_2
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->k(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->j(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v0, v4}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->setMore(Z)V

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->l(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)I

    move-result v1

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->b(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)I

    move-result v2

    invoke-static {v0, v1, v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;II)V

    goto :goto_0

    :pswitch_2
    sget-object v1, Lcn/apppark/vertify/network/request/WebServiceRequest;->NO_DATA:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    sget-object v1, Lcn/apppark/vertify/network/request/WebServiceRequest;->WEB_ERROR:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    :cond_3
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v0, v5}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->loadFail(I)V

    goto :goto_0

    :cond_4
    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v1, v5}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->loadSuccess(I)V

    new-instance v1, Lih;

    invoke-direct {v1, p0}, Lih;-><init>(Lif;)V

    invoke-virtual {v1}, Lih;->getType()Ljava/lang/reflect/Type;

    move-result-object v1

    iget-object v3, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0, v1}, Lcn/apppark/mcd/util/jsonparse/JsonParserDyn;->parseJson2List(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-static {v3, v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->j(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-static {v0, v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    :cond_5
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->m(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)V

    move v1, v2

    :goto_1
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->e(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->e(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0, v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->b(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;I)I

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0, v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->c(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;I)I

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-virtual {v0, v4}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->setMore(Z)V

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0, v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->d(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;I)I

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->k(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v0}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->k(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->j(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->l(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)I

    move-result v1

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->b(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)I

    move-result v2

    invoke-static {v0, v1, v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->a(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;II)V

    goto/16 :goto_0

    :pswitch_3
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcn/apppark/mcd/widget/WaterfallImageView;

    iget v1, p1, Landroid/os/Message;->arg2:I

    invoke-virtual {v0}, Lcn/apppark/mcd/widget/WaterfallImageView;->getColumnIndex()I

    move-result v0

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->n(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v2

    aget v3, v2, v0

    add-int/2addr v1, v3

    aput v1, v2, v0

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->g(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v1

    aget v2, v1, v0

    add-int/lit8 v2, v2, 0x1

    aput v2, v1, v0

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->h(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[Ljava/util/HashMap;

    move-result-object v1

    aget-object v1, v1, v0

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->g(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v2

    aget v2, v2, v0

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    iget-object v3, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v3}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->n(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v3

    aget v3, v3, v0

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v1}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->f(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v1

    iget-object v2, p0, Lif;->a:Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;

    invoke-static {v2}, Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;->g(Lcn/apppark/vertify/activity/free/dyn/DynMsgWater5012;)[I

    move-result-object v2

    aget v2, v2, v0

    aput v2, v1, v0

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
